<template>
	<div class="grid">
		<van-grid :column-num="title">
			<van-grid-item 
				v-for="item in list" :key="item.id" 
				:icon="item.url" 
				:text="item.text" 
			/>
		</van-grid>
	</div>
</template>
<script setup lang='ts'>


type propsType = {
	list:any,
	title?:number
}
const props = withDefaults(defineProps<propsType>(),{
	title:5
})

console.log(props);



</script>
<style scoped>

</style>